package cn.neusoft.yp.pojo;

import java.util.List;

/**
 * Created by gaosheng on 2017/4/27.
 */
public class Page<T> {

    //页面商品列表，购物车列表，订单列表集合
    private List<T> list;
    //总记录条数
    private int countrow;
    //每页显示记录条数
    private int rowperpage;
    //页面总数
    private int countpage;
    //当前页面数值
    private int thispage;
    //上一页数值
    private int prepage;
    //下一页数值
    private int nextpage;
    //以及4个查询条件，根据商品名称、商品种类、价格区间来查询
    private String name;
    private String category;
    private Double minprice;
    private Double maxprice;
    public List<T> getList() {
        return list;
    }
    public void setList(List<T> list) {
        this.list = list;
    }
    public int getCountrow() {
        return countrow;
    }
    public void setCountrow(int countrow) {
        this.countrow = countrow;
    }
    public int getRowperpage() {
        return rowperpage;
    }
    public void setRowperpage(int rowperpage) {
        this.rowperpage = rowperpage;
    }
    public int getCountpage() {
        return countpage;
    }
    public void setCountpage(int countpage) {
        this.countpage = countpage;
    }
    public int getThispage() {
        return thispage;
    }
    public void setThispage(int thispage) {
        this.thispage = thispage;
    }
    public int getPrepage() {
        return prepage;
    }
    public void setPrepage(int prepage) {
        this.prepage = prepage;
    }
    public int getNextpage() {
        return nextpage;
    }
    public void setNextpage(int nextpage) {
        this.nextpage = nextpage;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getCategory() {
        return category;
    }
    public void setCategory(String category) {
        this.category = category;
    }
    public Double getMinprice() {
        return minprice;
    }
    public void setMinprice(Double minprice) {
        this.minprice = minprice;
    }
    public Double getMaxprice() {
        return maxprice;
    }
    public void setMaxprice(Double maxprice) {
        this.maxprice = maxprice;
    }

}
